package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 支付管理对象 payment
 * 
 * @author cwc
 * @date 2024-12-13
 */
public class Payment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付项id */
    private Long paymentId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal paymentPrice;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private Long paymentMethod;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private Long paymentStatus;

    public void setPaymentId(Long paymentId) 
    {
        this.paymentId = paymentId;
    }

    public Long getPaymentId() 
    {
        return paymentId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setPaymentPrice(BigDecimal paymentPrice) 
    {
        this.paymentPrice = paymentPrice;
    }

    public BigDecimal getPaymentPrice() 
    {
        return paymentPrice;
    }
    public void setPaymentMethod(Long paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public Long getPaymentMethod() 
    {
        return paymentMethod;
    }
    public void setPaymentStatus(Long paymentStatus) 
    {
        this.paymentStatus = paymentStatus;
    }

    public Long getPaymentStatus() 
    {
        return paymentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paymentId", getPaymentId())
            .append("orderId", getOrderId())
            .append("paymentPrice", getPaymentPrice())
            .append("paymentMethod", getPaymentMethod())
            .append("paymentStatus", getPaymentStatus())
            .toString();
    }
}
